#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
@AUTHOR: tyc
@VERSION: 1.0.0
@DESCRIPTION: 代理防止ip被封  百度搜素免费ip代理 获取ip与端口号
@time: 2021-07-03 17:17:14 
"""
import requests

proxies = {
    'https': ""
}
url = 'https://www.baidu.com'
resp = requests.get(url, proxies=proxies)
resp.encoding = 'utf-8'
print(resp.text)